# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=hyenae
pkgver=0.36_1
pkgrel=3
pkgdesc='Flexible platform independent packet generator.'
groups=('blackarch' 'blackarch-networking')
arch=('x86_64' 'aarch64')
url='http://sourceforge.net/projects/hyenae/'
license=('GPL')
depends=('libpcap' 'libdnet')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-${pkgver/_/-}.tar.gz")
sha512sums=('5626ea29a753c9e5187e02fb302f339cc59a8d837f5b1f66dade642fc83ea3ad8ce0bba22610fb7596d58ba5db730cc3eea5fb9d4d035ef893e33b2bc3359fb1')

build() {
  cd "$pkgname-${pkgver/_/-}"

  ./configure --prefix=/usr

  make
}

package(){
  cd "$pkgname-${pkgver/_/-}"

  make DESTDIR="$pkgdir" install
}

